package com.pricetag.googleproductsearch;

import java.util.ArrayList;


public class Driver {
	
	
	public static void main(String args [] ){
		GoogleShopPriceSearch ps=new GoogleShopPriceSearch();
		ArrayList<GoogleShopPriceSearchResult> resList=ps.getPrice("digital camera", "CA");
		
		
		for(int l=0;l<resList.size();l++){
			System.out.println(resList.get(l).getTitle());
			System.out.println(resList.get(l).getLink());
			System.out.println(resList.get(l).getImage());
			System.out.println(resList.get(l).getPrice());
			
		}
		
	}

}
